body{
    background-color: black;
    position: relative;
}
img{
    width: 600px;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: absolute;
    left: 0;
    transform: rotateZ(0deg);
    transition: all 1s;
}
img:hover{
    left: 500px;
    transform: rotateZ(360deg);
}